home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20031118-20041115 / 000221_Petri_member@newsguy.com_Tue Apr 20 09:11:37 2004.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Path: newsmaster.cc.columbia.edu!iad-feed.news.verio.net!nntp1.tagonline.com!newsfeed2.dallas1.level3.net!news.level3.com!zeus.visi.com!news-out.visi.com!green.octanews.net!news-out.octanews.net!news.glorb.com!newsfeed3.easynews.com!easynews.com!easynews!border1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!nntp.giganews.com!cyclone-sf.pbi.net!129.250.175.17!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!drn
  2. From: Petri <Petri_member@newsguy.com>
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Running kermit from within glftpd
  5. Date: 19 Apr 2004 14:22:44 -0700
  6. Organization: Newsguy News Service [http://newsguy.com]
  7. Lines: 58
  8. Message-ID: <c61fv402ovm@drn.newsguy.com>
  9. NNTP-Posting-Host: p-668.newsdawg.com
  10. X-Newsreader: Direct Read News 4.20
  11. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14938
  12.  
  13. Hi,
  14.  
  15. After the successful solution to the Auth SSL problem I posted about earlier, I
  16. finished a Perl-wrapper that will take parameters given by the users within
  17. glftpd, and use those parameters to start Kermit ftp-sessions to remote sites.
  18. Now I am done with that, and I am ready to deploy the scripts.
  19.  
  20. glftpd changes root into its' own folder, which means I have to copy some
  21. dependencies.
  22. No problem with Perl, I just copied the whole of /usr/lib/perl5, and that was
  23. that.
  24. Kermit on the other hand, first required ncurses, which was no problem, I just
  25. copied /usr/lib/libncurses*.
  26. But now Kermit wants some Kerberos library, here is the error message when run
  27. from within glftpd:
  28. kermit: error while loading shared libraries: libkrb4.so.2: cannot open shared
  29. object file: No such file or directory
  30.  
  31. I tracked that file to /usr/kerberos/lib/ on this redhat9 system, so I copied
  32. the whole dir structure /usr/kerberos/ into the new root.
  33. Yet Kermit still complains about that same file.
  34.  
  35. I figured I'd try that make thingy again, and build a binary without Kerberos,
  36. with 'make linux+openssl', but that results in:
  37. ---8<---
  38. Making C-Kermit "8.0.211" for Linux on i386 with SSL/TLS...
  39. make xermit KTARGET=${KTARGET:-linux+openssl} "CC = gcc" "CC2 = gcc" \
  40. "CFLAGS = -O -funsigned-char -pipe -DPOSIX -DLINUX -DNOCOTFMC \
  41. -DCK_AUTHENTICATION -DCK_SSL \
  42. -DCK_CURSES -DCK_POSIX_SIG -DTCPSOCKET -DLINUXFSSTND -DHAVE_CRYPT_H \
  43. -DFNFLOAT -I/usr/local/ssl/include " "LNKFLAGS = " \
  44. "LIBS= -L/usr/local/ssl/lib \
  45. -lncurses -ltermcap -lssl -lcrypto -lm -lresolv -lcrypt"
  46. make[1]: Entering directory `/root/ckermit'
  47. gcc -O -funsigned-char -pipe -DPOSIX -DLINUX -DNOCOTFMC  -DCK_AUTHENTICATION
  48. -DCK_SSL  -DCK_CURSES -DCK_POSIX_SIG -DTCPSOCKET -DLINUXFSSTND -DHAVE_CRYPT_H 
  49. -DFNFLOAT -I/usr/local/ssl/include  -DKTARGET=\"linux+openssl\" -c ckcmai.c
  50. In file included from /usr/include/openssl/ssl.h:179,
  51.                  from ck_ssl.h:43,
  52.                  from ckcmai.c:607:
  53. /usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory
  54.  
  55. ...
  56.  
  57. make[1]: *** [ckcmai.o] Error 1
  58. make[1]: Leaving directory `/root/ckermit'
  59. make: *** [linux+openssl] Error 2
  60. ---8<---
  61.  
  62. Is it possible to build Kermit with OpenSSL, but without Kerberos?
  63. Maybe I should try to solve the runtime Kerberos dependency instead, but then
  64. how?
  65.  
  66. Any tips would be greatly appreciated. :)
  67.  
  68.  
  69. Petri
  70.